package com.csy.user.entity.owner.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.csy.commons.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper=false)
public class AjOwner extends BaseEntity {

    private static final long serialVersionUID = 8936822298828532653L;

    /*业主id
     * */
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long ownerId;

    /*业主昵称
     * */
    private String ownerNickname;

    /*房间id
     * */
    private String ownerRealName;

    /*房间id
     * */
    private String ownerGender;

    /*房间id
     * */
    private Long ownerAge;

    /*房间id
     * */
    private String ownerIdCard;

    /*房间id
     * */
    private String ownerPhoneNumber;

    /*房间id
     * */
    private String ownerOpenId;

    /*房间id
     * */
    private String ownerWechatId;

    /*房间id
     * */
    private String ownerQqNumber;

    /*房间id
     * */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date ownerBirthday;

    /*房间id
     * */
    private String ownerPortrait;

    /*房间id
     * */
    private String ownerSignature;
    /*房间id
     * */
    private String ownerStatus;
    /*房间id
     * */
    private String ownerLogonMode;

    /*房间id
     * */
    private String ownerType;
    /*房间id
     * */
    private String ownerPassword;


}
